3.6.7 \(\int x^{-1-n (1+2 p)} (b x^n+c x^{2 n})^p \, dx\) [507]

Optimal. Leaf size=38 \[ -\frac {x^{-2 n (1+p)} \left (b x^n+c x^{2 n}\right )^{1+p}}{b n (1+p)} \]

[Out]

-(b*x^n+c*x^(2*n))^(1+p)/b/n/(1+p)/(x^(2*n*(1+p)))

________________________________________________________________________________________

Rubi [A]
time = 0.03, antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.036, Rules used = {2039} \begin {gather*} -\frac {x^{-2 n (p+1)} \left (b x^n+c x^{2 n}\right )^{p+1}}{b n (p+1)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^(-1 - n*(1 + 2*p))*(b*x^n + c*x^(2*n))^p,x]

[Out]

-((b*x^n + c*x^(2*n))^(1 + p)/(b*n*(1 + p)*x^(2*n*(1 + p))))

Rule 2039

Int[((c_.)*(x_))^(m_.)*((a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> Simp[(-c^(j - 1))*(c*x)^(m - j
 + 1)*((a*x^j + b*x^n)^(p + 1)/(a*(n - j)*(p + 1))), x] /; FreeQ[{a, b, c, j, m, n, p}, x] &&  !IntegerQ[p] &&
 NeQ[n, j] && EqQ[m + n*p + n - j + 1, 0] && (IntegerQ[j] || GtQ[c, 0])

Rubi steps

\begin {align*} \int x^{-1-n (1+2 p)} \left (b x^n+c x^{2 n}\right )^p \, dx &=-\frac {x^{-2 n (1+p)} \left (b x^n+c x^{2 n}\right )^{1+p}}{b n (1+p)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.07, size = 43, normalized size = 1.13 \begin {gather*} -\frac {x^{-n (1+2 p)} \left (b+c x^n\right ) \left (x^n \left (b+c x^n\right )\right )^p}{b n (1+p)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^(-1 - n*(1 + 2*p))*(b*x^n + c*x^(2*n))^p,x]

[Out]

-(((b + c*x^n)*(x^n*(b + c*x^n))^p)/(b*n*(1 + p)*x^(n*(1 + 2*p))))

________________________________________________________________________________________

Maple [F]
time = 0.05, size = 0, normalized size = 0.00 \[\int x^{-1-n \left (1+2 p \right )} \left (b \,x^{n}+c \,x^{2 n}\right )^{p}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(-1-n*(1+2*p))*(b*x^n+c*x^(2*n))^p,x)

[Out]

int(x^(-1-n*(1+2*p))*(b*x^n+c*x^(2*n))^p,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1-n*(1+2*p))*(b*x^n+c*x^(2*n))^p,x, algorithm="maxima")

[Out]

integrate((c*x^(2*n) + b*x^n)^p*x^(-n*(2*p + 1) - 1), x)

________________________________________________________________________________________

Fricas [A]
time = 0.36, size = 59, normalized size = 1.55 \begin {gather*} -\frac {{\left (c x x^{-2 \, n p - n - 1} x^{n} + b x x^{-2 \, n p - n - 1}\right )} {\left (c x^{2 \, n} + b x^{n}\right )}^{p}}{b n p + b n} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1-n*(1+2*p))*(b*x^n+c*x^(2*n))^p,x, algorithm="fricas")

[Out]

-(c*x*x^(-2*n*p - n - 1)*x^n + b*x*x^(-2*n*p - n - 1))*(c*x^(2*n) + b*x^n)^p/(b*n*p + b*n)

________________________________________________________________________________________

Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**(-1-n*(1+2*p))*(b*x**n+c*x**(2*n))**p,x)

[Out]

Exception raised: SystemError >> excessive stack use: stack is 3435 deep

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1-n*(1+2*p))*(b*x^n+c*x^(2*n))^p,x, algorithm="giac")

[Out]

integrate((c*x^(2*n) + b*x^n)^p*x^(-n*(2*p + 1) - 1), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {{\left (b\,x^n+c\,x^{2\,n}\right )}^p}{x^{n\,\left (2\,p+1\right )+1}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x^n + c*x^(2*n))^p/x^(n*(2*p + 1) + 1),x)

[Out]

int((b*x^n + c*x^(2*n))^p/x^(n*(2*p + 1) + 1), x)

________________________________________________________________________________________